package com.util;

public class LayPage {
    private String page = "1";
    private Integer limit = 10;
    private Integer start;
    public String getPage() {
        return page;
    }

    public void setPage(String page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }



    //
    public Integer getStart(){
        int start1 =(Integer.parseInt(getPage())-1)*(getLimit());

        return start1;
    }
}
